#ifndef BUFFERMANAGER_H
#define BUFFERMANAGER_H

#include <QMutex>
#include <QSharedPointer>

#include "qkeymetro.h"


class Buffer;
class BufferManager
{
public:
 //   static QSharedPointer <Buffer> & getBuffer();
    static void changeSizes(int size = QKeyMetro::StaticData::bufSize);
protected:
   QList<QSharedPointer<Buffer> > pool_;
private:
    BufferManager();
    ~BufferManager();
};

#endif // BUFFERMANAGER_H
